Uses of Class
edu.uky.ai.lp.Action

Packages that use Action 
Package Description
edu.uky.ai.lp
Contains classes for representing, playing, and displaying a game of "Hunt the Wumpus".
edu.uky.ai.lp.ai
Contains classes for creating agents who play "Hunt the Wumpus".
  • Uses of Action in edu.uky.ai.lp

    Methods in edu.uky.ai.lp that return Action 
    Modifier and Type Method Description
    static Action Action.valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static Action[] Action.values()
    Returns an array containing the constants of this enum type, in the order they are declared.
  • Uses of Action in edu.uky.ai.lp.ai

    Methods in edu.uky.ai.lp.ai that return Action 
    Modifier and Type Method Description
    Action Agent.chooseAction​(Game game)
    Chooses the next move for the player to make.
    Action HumanAgent.chooseAction​(Game game)  
    Action LogicAgent.chooseAction​(Game game)  
    static Action Path.path​(java.lang.String from, java.lang.String to, java.util.Set<java.lang.String> visited)
    Given the player's current location and intended destination, return the next move action that needs to be taken to get to the destination.
    Methods in edu.uky.ai.lp.ai with parameters of type Action 
    Modifier and Type Method Description
    static java.lang.String Path.getNewLocation​(java.lang.String current, Action action)
    Given the player's current location and a next move action to take, return the player's new location after the action is taken.